<!--
 * @Description: 伪类选择器-a标签
 * @Author: rendc
 * @Date: 2022-09-20 11:12:48
 * @LastEditors: rendc
 * @LastEditTime: 2022-09-20 11:51:55
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>伪类选择器-a标签</title>
  <style>
    body {
      margin: 0;
    }

    /* a标签四个默认状态 
    :link     未被点击    蓝色字体
    :visited  已经访问过  紫色字体
    :hover    光标悬浮    鼠标变小手
    :active   鼠标点击    字体变为红色
    */

    a:link {
      color: aqua;
    }

    a:visited {
      color: beige;
    }

    a:hover {
      color: green;
      cursor: pointer;
      cursor: help;
      cursor: wait;
      cursor: move;
      cursor: crosshair;
    }

    a:active {
      color: gold;
    }

    div:active {
      font-size: 40px;
    }

    div:hover {
      font-size: 40px;
    }

    a {
      text-decoration: none;
      /* text-decoration: underline dashed; */
      /* text-decoration: underline dotted; */
      /* text-decoration: underline double; */
    }
  </style>
</head>

<body>
  <div id="app">
    baidu
    <a href="http://baidu.com">百度一下</a>
  </div>
</body>

</html>